package com.itstyle.seckill.topic.desinger.design_cj.adapter;

/**
 * @Auther: liuwenxiang
 * @Date: 2019/9/18 17:53
 * @Description:
 */
public class ElectricAdapter implements Motor {


    private ElectricMotor emotor;

    public ElectricAdapter()
    {
        emotor=new ElectricMotor();
    }


    @Override
    public void drive() {
        emotor.electricDrive();
    }
}
